  # driver.find_element(By.ID, "realname").send_keys("赵云")
    # driver.find_element(By.ID, "genderm").click()




# driver.find_element(By.ID,"account").send_keys("zhaoyun")
# driver.find_element(By.ID,"realname").send_keys("赵云")
# driver.find_element(By.ID,"genderm").click()
# #定位到下拉框
# ele = driver.find_element(By.ID,"role")
#创建 下拉框对象
# sle_obj=Select(ele)
#调用 方法
# sle_obj.select_by_index(2) #根据索引
# sle_obj.select_by_visible_text("研发")  #根据文本内容
# sle_obj.select_by_value("office")   #根据value的值 在源代码中查看
# driver.find_element(By.ID,"password1").send_keys("123456")
# driver.find_element(By.ID,"password2").send_keys("123456")
# driver.find_element(By.ID,"email").send_keys("l28666666@gmail.com")
# driver.find_element(By.ID,"submit").click()
# sleep(2)
# driver.switch_to.parent_frame()#返回上一级框架
#
# driver.find_element(By.LINK_TEXT,"签退").click()
# sleep(2)

# driver.switch_to.default_content() #返回根框架
# sleep(2)



